lcColorSetPalette Home

Sets RGB color for the palette index.

 BOOL lcColorSetPalette (
   int Index,
   int Red,
   int Green,
   int Blue
 );

Parameters
Index
  Color index.
The value can be from 1 to 255, except 7.
Red Green Blue
  Red, Green, Blue components. The value can be from 0 to 255.

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

See Also

  ColorslcColorGetPalette